<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<script type="text/javascript">
    function changeLanguage(language) {
        var url = '${"changeLanguage.do?sessionLanguage=' + language + '"}';
        $.post(url, function (data) {
            window.location.replace('welcome.do');
        });
    }
</script>
<div id="header-wrapper-applicant">
    <div id="header-applicant">
        <img id="logo-eslims" width="128px" height="128px" src="${pageContext.request.contextPath}/images/cgrlogo.gif"/>
        <img id="logo-applicant" src="${pageContext.request.contextPath}/images/logo.png"/>
        <%--<img id="logo-eslims" src="${pageContext.request.contextPath}/images/eslimslogo.png"/>--%>

        <div id="title-applicant">
            <s:property value="@lk.icta.common.AppConstants@APPLICATION_NAME_SI"/> </br>
            <s:label cssStyle="font-size:16" name="@lk.icta.common.AppConstants@APPLICATION_NAME_TA"/> </br>
            <s:property value="@lk.icta.common.AppConstants@APPLICATION_NAME_EN"/>
        </div>
        <div class="buttons-applicant">
            <a href="http://siyabas.lk/tamil_how_to_install_in_english.html"
               target="_blank">
                <img class="getLang" src="${pageContext.request.contextPath}/images/get_ta.png"/>

            </a>
            <a href="http://siyabas.lk/sinhala_how_to_install.html"
               target="_blank">
                <img class="getLang" src="${pageContext.request.contextPath}/images/get_si.png"/></a>
            <a href="${pageContext.request.contextPath}/lib/keyboard/t1.html"
               target="_blank">
                <img class="getLang" alt="Sinhala Keyboard"
                     src="${pageContext.request.contextPath}/images/sin_keyboard.jpg"/>
            </a>
            <a href="${pageContext.request.contextPath}/lib/keyboard/OnlineUnicodeKeyboard.html"
               target="_blank">
                <img class="getLang" alt="Sinhala Keyboard"
                     src="${pageContext.request.contextPath}/images/sin_keyboard.jpg"/>
            </a>
        </div>
        <div class="buttons font11">
            <div class="lang" onclick="changeLanguage('si')">සිංහල</div>
            <div class="lang" onclick="changeLanguage('ta')">தமிழ்</div>
            <div class="lang" onclick="changeLanguage('en')">English</div>
        </div>
    </div>
</div>
<div id="menu-wrapper-applicant">
    <div id="menu-applicant">
        <a href="welcome.do">
            <s:label value="%{getText('home.label')}"/>
        </a>
        <a href="aboutUs.do">
            <s:label value="%{getText('about_us.label')}"/>
        </a>
        <a href="contactUs.do">
            <s:label value="%{getText('contact_us.label')}"/>
        </a>
        <a href="processOverview.do">
            <s:label value="%{getText('eslims_process.label')}"/>
        </a>
        <a href="loginPageLoad.do">
            <s:label value="%{getText('login.label')}"/>
        </a>
    </div>
</div>
